package net.sunofbeach.blog.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table (name ="tb_categories")
public class Category {

    @Id
    @Column(name = "id")
    private String id;
    @Column(name = "name")
    private String name;
    @Column(name = "pinyin")
    private String pinyin;
    @Column(name = "description")
    private String description;
    @Column(name = "`order`")
    private long order;
    @Column(name = "state")
    private String state;
    @Column(name = "create_time")
    private java.sql.Timestamp create_time;
    @Column(name = "update_time")
    private java.sql.Timestamp update_time;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }


    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }


    public long getOrder() {
        return order;
    }

    public void setOrder(long order) {
        this.order = order;
    }


    public String getStatus() {
        return state;
    }

    public void setStatus(String state) {
        this.state = state;
    }


    public java.sql.Timestamp getCreate_time() {
        return create_time;
    }

    public void setCreate_time(java.sql.Timestamp create_time) {
        this.create_time = create_time;
    }


    public java.sql.Timestamp getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(java.sql.Timestamp update_time) {
        this.update_time = update_time;
    }

}